<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no, email=no">
    <title>重庆写字楼市场新闻分析-重庆最新写字楼行业分析报告投资回报率|快址网</title>
    <link rel="stylesheet" type="text/css" href="/static/common/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="/static/common/css/mobilecommon.css"/>
    <link rel="stylesheet" type="text/css" href="/static/common/css/kz_header_mobile.css"/>
    <link rel="stylesheet" type="text/css" href="/static/common/css/kz_newslist_mobile.css"/>
    <script type="text/javascript" src="/static/common/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/common/js/swiper.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/common/css/swiper.min.css"/>
    <link rel="stylesheet" href="/static/common/layui/css/layui.css">
</head>

<body>
<div class="header">
    <a href="/index.html"><img src="/static/common/mobile_img/mobile_logob.png"/></a>
    <a><input type="search" maxlength="10"  value=""  placeholder="输入楼盘/区域"  id="housesSearch1" /><button onclick="housesSearch(document.getElementById('housesSearch1').value)"><img src="/static/common/mobile_img/list_search.png"/></button></ a>
    <a id="kz_menu"><img src="/static/common/mobile_img/mobile_meunb.png"/></a>
</div>
<div class="meum_slide">
     <#include  "include/mobile_navbar.ftl"/>
  </div>
<!--分类 start-->
<div class="second_nav">
<#list data.articleTypeList as type>
<a href="/lists/news${type.id}/pv1" <#if type.id == type_id >  class="on" </#if>>${type.type}</a>
</#list>
</div>
<!--分类 end-->
<div class="oneheader">
    <div class="swiper">
        <div class="swiper-container swiper-container-horizontal" style="padding:0px!important">
            <div class="swiper-wrapper" style="height:16rem;transform: translate3d(auto, 0px, 0px); transition-duration: 0ms;">
                <div class="swiper-slide" style="width: 100%; ">
            <#list advertList as al>
                <#if al.advert_site=='ADVERT_MODILE_NEWS_LIST'>
                    <#assign text=al.cover_img_path />
                    <#assign data=text?eval />
                                <a href="${al.access_path}" title="${al.title}">
                                    <img src="${data.originalPath}" title="${al.title}"/>
                                    <span>${al.title}</span>
                                </a>
                </#if>
            </#list>
                </div>
            </div>
        </div>
    </div>
    <div class="onepart five" id="content">
        <ul class="flow-default" id="LAY_demo1"></ul>
    </div>
</body>
<script src="/static/common/js/common.js"></script>
<script src="/static/common/js/common2.js"></script>
<script src="/static/common/js/mobilecommon.js"></script>
<script src="/static/common/layui/layui.js" type="text/javascript"></script>
<script type="text/javascript">
    layui.use('flow', function () {
        var flow = layui.flow;
        flow.load({
            elem: '#LAY_demo1', //流加载容器
            scrollElem: '#LAY_demo1',
            done: function (page, next) { //执行下一页的回调
                var time = 500;
                if (page == 1) {
                    time = 0;
                }
                setTimeout(function () {
                    var lis = [];
                    var pages = 1;
                    $.post('/lists/ajaxNewsData', {article_type_id:${type_id}}, function (res) {
                        pages=res.pageNum+1;
                        var data = res.data;
                        for (var i = 0; i < data.length; i++) {
                            var imgJson=JSON.parse(data[i].cover_img_path);
                              lis.push('<div class="d2">'
                                +'<a  href="/details/news'+data[i].article_id+'.html"> <div>'
                                +'  <h3><span class="redcolor">['+data[i].type+']</span>'+data[i].title+'</h3>'
                                +'<p>'+data[i].description+'</p>'
                                +'<p><span class="redcolorspan">来自:'+data[i].articleFrom+'</span><span class="redcolorspan">发布于:'+data[i].modify_time.substring(0,10)+'</span></p></div>'
                                +' <div> <img src="'+imgJson.minPath+'"/></div>'
                                +'</a></div>'
                                +'<div class="bottom_line"></div>'
                        )
                        }
                        next(lis.join(''), page < res.pages);
                    }, 'json')
                }, time);
            }
        });
    });
</script>

</html>